package com.allwees.bs.module.scm.transform;

import com.allwees.bs.core.modelbase.transform.TransformFactoryStrategy;
import org.springframework.boot.CommandLineRunner;
import org.springframework.stereotype.Component;

@Component
public class ScmTransformFactoryStrategy extends TransformFactoryStrategy implements CommandLineRunner {

    @Override
    public void run(String... args) throws Exception {
        factory.add(new OmsOrderItemToScmAllocateOrderSkuTransformFactory());
        factory.add(new ScmAllocateOrderSkuToScmPickOrderSkuTransformFactory());
        factory.add(new ScmPickOrderSkuToScmShippingOrderSkuTransformFactory());
    }
}

